/*
 * @Author: hukai huzhengen@gmail.com
 * @Date: 2024-11-05 09:27:25
 * @LastEditors: hukai huzhengen@gmail.com
 * @LastEditTime: 2024-11-05 09:28:08
 * @FilePath: \dome-react\src\route\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import About from "../views/login";
import Home from "../views/age";
import { Navigate } from "react-router-dom";

export const route = [
    {
        path: "/login",
        element: <About />
    },
    {
        path: "/age",
        element: <Home />
    },
    {
        path: "/",
        element: <Navigate to="/login" />
    }
]
